import axios from 'axios'

const baseURL = process.env.VUE_APP_BASE_API

// 获取路由
export const text2audio = config => {
  var url = baseURL + "/tool/baidutts/text2audio"
  return axios({
    method: 'post',
    url: url,
    // responseType: 'blob',
    data: config
  })
}
